package com.huiyun.project.pay.client.consts;

import java.io.Serializable;

public class MchNotifyConst implements Serializable {

    /**
     * :1-支付,2-转账,3-退款
     */
    public enum TYPE {

        PAY(1, "支付"),
        REFUND(2, "退款"),
        TRANSFER(3, "转账");

        private Integer value;
        private String text;

        TYPE(Integer value, String text) {
            this.value = value;
            this.text = text;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }

    /**
     * :1-支付,2-转账,3-退款
     */
    public enum STATUS {

        IN(1, "通知中"),
        SUCCESS(2, "通知成功"),
        FAIL(3, "通知失败");

        private Integer value;
        private String text;

        STATUS(Integer value, String text) {
            this.value = value;
            this.text = text;
        }

        public Integer getValue() {
            return value;
        }

        public void setValue(Integer value) {
            this.value = value;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }


    }


}
